<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
        <script>
           function test(e){
               console.log("-----",e)
           }
        </script>
    </head>
    <body>
        <input type="button" value="测试" onclick="test(event)" />
    </body>
</html>
